package com.cdxy.biz.process;

import com.cdxy.model.dto.req.ForgetPasswordReq;
import com.cdxy.model.dto.req.ModifyPasswordReq;
import com.cdxy.model.dto.req.SendMobileCodeReq;
import com.cdxy.model.dto.req.SetPasswordReq;

/**
 * @Author: tangy
 * @Date: 2020/3/10 10:56
 */
public interface IPasswordOptBizProcess {
    /**
     * 设置密码
     *
     * @param setPasswordReq
     */
    void setPassword(SetPasswordReq setPasswordReq);

    /**
     * 修改密码
     *
     * @param modifyPasswordReq
     */
    void modifyPassword(ModifyPasswordReq modifyPasswordReq);

    /**
     * 忘记密码
     *
     * @param forgetPasswordReq
     */
    void forgetPassword(ForgetPasswordReq forgetPasswordReq);

    /**
     * 忘记密码发送验证码
     *
     * @param sendMobileCodeReq
     */
    void sendSmsForgetPassword(SendMobileCodeReq sendMobileCodeReq);

    /**
     * 修改密码发送验证码
     *
     * @param sendMobileCodeReq
     */
    void sendSmsModifyPassword(SendMobileCodeReq sendMobileCodeReq);
}
